/**
 * 今日必领
 * @param int id
 */
export const getCouponData = (data) =>
  uni.http({
    url: 'store/product/receive_coupon',
    method: 'get',
    data,
    requestType: 'shop',
    noAuth: false,
  })

/**
 * 精选推荐
 * @param int id
 */
export function getRecommendData(data){
  console.log(data)
  return uni.http({
    url: 'store/product/coupon_mer_list',
    method: 'post',
    data,
    requestType: 'shop',
    noAuth: true,
  })
}
/**
 * 领取优惠券
 * @param int id
 */
export const getCoupon = (data) =>
  uni.http({
    url: 'store/product/click_receive',
    method: 'get',
    data,
    requestType: 'shop',
    noAuth: false,
  })

//我的模块 评价中心接口
